Translation between S/r and Promela
نویسنده
چکیده
S/R and Promela are two concurrent programming languages used in nite state automated veriication of communication protocols. The semantics of S/R supports synchronous parallel composition, while semantics of Promela supports an interleaving parallel composition of processes. Because of the diierences in the execution model, the veriication tools available for the models written in these languages are optimized diierently. SPIN, a veriication tool for models written in Promela, uses partial order reduction reductions based upon commutativity of interleaving to combat the state explosion problem due to the amount of concurrency in concurrent models. COSPAN, a tool used largely for hardware veriication for models written in S/R, ooers implicit enumeration and automatic reduction of the speciication with respect to the properties to be veriied. Because of such diierences in the techniques used for combating the practical problems faced in veriication of protocols, it may be desirable to translate the protocols written in one language into the other. For example, if there were a Promela model for which veriication were intractable in spite of the partial order reductions in SPIN, there is a possibility that the reduction algorithms or implicit enumeration algorithms in COSPAN may be tractable. Conversely, an interleaving model speciied in S/R may be executed more eeciently in SPIN. This document describes two translators, s2p and p2s, to translate S/R into Promela and Promela to S/R respectively. The eeecitiveness of the translators is illustrated with the aid of two examples.
منابع مشابه
Verifying π-calculus Processes by Promela Translation
In this paper, the possibility of verifying π-calculus processes via Promela translation is investigated. A general translation method from π-calculus processes to Promela models is presented and its usefulness is shown by performing verification tasks with translated π-calculus examples and SPIN. Model checking translated π-calculus processes in SPIN is shown to overcome shortcomings of the Mo...
متن کاملPCX: A Translation Tool from PROMELA/Spin to the C-Based Stochastic Petri Net Language
Stochastic Petri Nets (SPNs) are a graphical tool for the formal description of systems with the features of concurrency, synchronization, mutual exclusion and conflict. SPN models can be described with an input language called CSPL (C-based SPN language). Spin is a generic verification system that supports the design and verification of software systems. PROMELA (Protocol or Process Meta Langu...
متن کاملEmbedding a Dialect of SDL in PROMELA
We describe a translation from a dialect of SDL-88 to PROMELA, the input language of the SPIN model checker. The fairly straightforward translation covers data types as well as processes, procedures, and services. Together with SPIN the translation provides a simulation and verification environment for most SDL features.
متن کاملModel-Checking Helena Ensembles with Spin
The Helena approach allows to specify dynamically evolving ensembles of collaborating components. It is centered around the notion of roles which components can adopt in ensembles. In this paper, we focus on the early veri cation of Helena models. We propose to translate Helena speci cations into Promela and check satisfaction of LTL properties with Spin [11]. To prove the correctness of the tr...
متن کاملTranslation of Timed Promela to Timed Automata with Discrete Data
The aim of the work is twofold. In order to face the problem of modeling time constraints in Promela, a timed extension of the language is presented. Next, timed Promela is translated to timed automata with discrete data, that is timed automata extended with integer variables. The translation enables verification of Promela specifications via tools accepting timed automata as input, such as Ver...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995